package segimasat.utils;


public class Utils{
    public static String xy(int x, int y){
        return "(" + x + ", " + y + ")";
    }

    public static int getRed(int color){
        return (color & 0xff0000) >> 16;
    }

    public static int getGreen(int color){
        return (color & 0x00ff00) >> 8;
    }

    public static int getBlue(int color){
        return color & 0x0000ff;
    }
}